﻿using Swimj.CommonLib.Base;

namespace Swimj.Core.Providers
{
    public interface IExcelProvider 
    {
        Stream WriteToStream<T>(IList<T> data, string sheetName);

        Stream WriteToStream<T>(string sheetName);

        IList<T> ReadToCollection<T>(Stream stream) where T : ImportTemplateResponseDto;
    }
}